﻿
using Assets.Script.Human.Enemy;
using Assets.Script.Tools;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Assets.Script.HelpSystem.AtkSystem
{
    public class GunBullet : PlayerBulletBodyBase
    {
        private static GameObject effect;

        protected override void DieEffect(bool hitEnemy)
        {
            if (hitEnemy)
            {
                return;
            }
            if (effect == null)
            {
                effect = Resources.Load<GameObject>(ResourcePath.GunBulletExplodeEffect);
            }
            //var de = Instantiate(effect, transform.position, new Quaternion(), null);
            //Destroy(de, 2f);
        }


    }



}
